package com.erp.erp_mask.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.erp.erp_mask.pojo.TCustomers;
import com.erp.erp_mask.pojo.TPartware;
import com.erp.erp_mask.service.TPartwareService;
import com.erp.erp_mask.mapper.TPartwareMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
* @author DELL
* @description 针对表【t_partware】的数据库操作Service实现
* @createDate 2024-05-18 10:52:54
*/
@Service
public class TPartwareServiceImpl extends ServiceImpl<TPartwareMapper, TPartware>
    implements TPartwareService{

    @Resource
    private TPartwareMapper tPartwareMapper;

    @Override
    public Page<TPartware> searchware(String name, Long pageNo, Long pageSize) {
        return tPartwareMapper.searchware(name,new Page<TPartware>(pageNo,pageSize));
    }
}




